﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Data.aspx.cs" Inherits="TEAA.Data" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div  class="content" style="height: 549px; width: 628px">
        <br/>
        <asp:Label ID="Label1" runat="server" Text="Valassz egy tablat: "></asp:Label> &nbsp;
        <asp:DropDownList ID="ddlTables" runat="server" 
            onselectedindexchanged="ddlTables_SelectedIndexChanged" 
            AutoPostBack="True"> </asp:DropDownList>
        <br/>
        <br/>
        <asp:Label ID="Label2" runat="server" Text="Adat beszúrásához töltsd ki a mezőket, majd kattints a beszúrás bombra."></asp:Label> &nbsp;
        <br/>  
        <!--<asp:GridView ID="GridViewInsertNewRow" runat="server" AutoGenerateEditButton="True"> 
            <Columns>                                         
            </Columns>
        </asp:GridView> -->
        <br/>
        
        <asp:Table ID="insertTable" runat="server">            
        </asp:Table>

        <asp:Button ID="btnInsertData" runat="server" Text="Beszúrás" 
            onclick="btnInsertData_Click" PostBackUrl="~/Data.aspx" />
        <br />
        <br />
        <asp:Label ID="Label3" runat="server" Text="Az alábbi táblázatban a kentebb kiválasztott táblaban szereplő adatok találhatók."></asp:Label> &nbsp;
        <br/> 
        <br />
        <asp:Table ID="viewTable" runat="server">        
        </asp:Table>
        <br />                      
        <asp:Button ID="btnUpdateData" runat="server" Text="Frissités" 
            onclick="btnUpdateData_Click" PostBackUrl="~/Data.aspx" />
        <!--<asp:GridView ID="grdInsData" runat="server"  
            AutoGenerateColumns="True">
        </asp:GridView>
         AK-
            AutoGenerateColumns="False"
            OnRowCancelingEdit="grdInsData_RowCancelingEdit" 
            OnRowDataBound="grdInsData_RowDataBound" 
            OnRowEditing="grdInsData_RowEditing" 
            OnRowUpdating="grdInsData_RowUpdating" ShowFooter="True" 
            OnRowCommand="grdInsData_RowCommand" 
            OnRowDeleting="grdInsData_RowDeleting">
            AK+ -->
        &nbsp; &nbsp;&nbsp;      
        <asp:Button ID="btnDelete" runat="server" Text="Töröl" onclick="btnDelete_Click" />
              
    </div>
</asp:Content>
